<style type="text/css">
.sbt{
	font-family:Verdana, Geneva, sans-serif;
	font-size:14px;
	color:#FFF;
	background:#09F;
	padding:6px 10px;
	border:none;
}
</style>

<div class="clr"></div>
<div id="page">
  <div id="columns">
  <div class="homelinks">
	<a href="<?php echo Yii::app()->getBaseUrl(true); ?>">Home</a> > Registration Form</div>
	
    <div id="createAccount">
	<!-- Create Account Code Start Here !-->
          <?php $form=$this->beginWidget('CActiveForm', array(
		'id'=>'personal_info',
		'enableAjaxValidation'=>false,
		'enableClientValidation'=>false,
		'htmlOptions' => array('enctype' => 'multipart/form-data'),
		)); ?>
        <b style="color:red;">  <?php echo $form->errorSummary($model); ?> </b>
            <div class="signupHeading" style="color:#005892 ! important; ">Sign Up</div>
      <div class="border"></div><br>
       <div class="basicDetails">
       <div class="basicHeading">Basic Details</div> <br>
     
       <div>Email (Your Username) <br>
      <?php echo $form->textField($model,'emailID',array('size'=>'40')); ?>
</div><br>
<div>Password <br>
<?php echo $form->passwordField($model,'password',array('size'=>'40')); ?>
</div><br>
<div>Confirm Password <br>
<?php echo $form->passwordField($model,'cnfpassword',array('size'=>'40')); ?>
</div><br>
<div>Name <br>
<?php echo $form->textField($model,'first_name',array('size'=>'40')); ?>
</div><br>
<div>Qualification <br>
 <?php echo $form->dropDownList($model,'qualification',  ApplicationConfig::app()->params['scaling_params']['qualification'],array('empty'=>'Select Qualification')); ?>   
</div><br>
<div>Organization<br>
<?php echo $form->textField($model,'organisation',array('size'=>'40')); ?>    
</div><br>
<div>Designation <br>
<?php echo $form->textField($model,'designation',array('size'=>'40')); ?>
</div>
      </div>
      
      <div class="basicDetails">
      <div class="basicHeading">Other Details</div> <br>
       <div>Mobile/Cell Number <br>
+91<?php echo $form->textField($model,'mobile_number',array('size'=>'40')); ?>
</div><br>
<div>Address<br>
 <?php echo $form->textArea($model,'address',array('size'=>'40')); ?>   

</div><br>
<div>State <br>
<?php echo $form->dropDownList($model,'user_stateID',  CHtml::listData(State::model()->findAll(), 'stateID', 'state_name'),array('class'=>'country','empty'=>'Select State',
    'ajax'=>array(
     'type'=>'POST',
     'url'=>ApplicationConfig::getURL("user_register", "User", "citylist"),
      'update'=>'#User_user_cityID',  
      )  ,  
    )); ?>   
</div><br>
<div>City <br>
<?php echo $form->dropDownList($model,'user_cityID', array(),array('class'=>'country','empty'=>'Select City',)); ?>   
</div><br>
<div>Zip <br>
<?php echo $form->textField($model,'zip_code',array('size'=>'40')); ?>  
</div><br>
<br><br>
</div>
      <div class="terms">By clicking on "I Accept/Create My Account" you are agreeing to the <a href="#">Terms of Service</a></div><br>
      <div class="accountBt">
          <?php echo CHtml::submitButton('I Accept/Create My Account',array('class'=>'sbt')); ?>
      
      </div>
      <br><br><br>
      </div>
      <div class="terms"></div><br>
      <br><br><br>
<?php $this->endWidget(); ?>
	  <!-- Create Account Code End Here !-->
  </div>
  <br>
      <div class="quickLinks">Quick Links :  <a href="#">Login</a> | <a href="#">Forgot Password</a></div><br>
  </div>
  <div class="clr"></div>

</div>
